package org.database.filter.repository;

import java.util.List;

import org.database.filter.model.QuocGia;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.Query;
import org.springframework.data.repository.query.Param;

public interface QuocGiaRepository extends JpaRepository<QuocGia, Integer>{
	@Query("FROM QuocGia WHERE TEN_QUOC_GIA = :quocgia")
	public List<QuocGia> getQuocGia(@Param("quocgia") String nganh);
}
